import request from '@/utils/request'

// 列表
export function GetCalendarAPI(params) {
  return request({
    url: '/scheduling/shopCalendar/viewing',
    method: 'GET',
    params
  })
}

// 获取甘特图信息
export function ganttChartAPI() {
  return request({
    url: '/scheduling/productionSchedule/ganttChart',
    method: 'GET'
  })
}

// 获取甘特图信息
export function EditganttChartAPI(data) {
  return request({
    url: '/scheduling/productionSchedule/ganttChartEdit',
    method: 'PUT',
    data
  })
}
